<!DOCTYPE html>
<style>
  div {
    width: 100px;
    height: 100px;
    margin: 5px;
    border: 1px solid black;
  }
</style>

<div id="first" tabindex="0">First</div>
<div id="second" tabindex="0">Second</div>
<div id="third" tabindex="0">Third</div>

<script>
  document.getElementById("second").style.cssText = "outline: auto 5px -webkit-focus-ring-color !important; box-shadow: none !important";
</script>
